package com.xiaoyu.lanling.feature.vip.model

import `in`.srain.cube.request.JsonData
import `in`.srain.cube.views.list.ListItemTypedBase
import java.io.Serializable

class PrivilegeItem(jsonData: JsonData) : ListItemTypedBase, Serializable {

    val id = jsonData.optString("id")
    val iconUrl = jsonData.optString("iconUrl")
    val name = jsonData.optString("name")
    val description = jsonData.optString("description")

    override fun getViewType(): Int {
        return 0
    }
}